# class person:
#     name = None
#     age = None
#     def say_hello(self):
#         print(f'Hello, my name is {self.name} and I am {self.age} years old.')     
#     def __init__(self, name, age):
#         self.name = name
#         self.age = age
# per1 = person('张三', 20)       
# per1.say_hello()

class student:
    name = None
    age = None
    address = None
    def hi(self):
        print(f'学生{i}信息录入完成，信息为:【学生姓名:{self.name}, 年龄:{self.age}, 地址:{address}】')
    def __init__(self, name, age, address):
        self.name = name
        self.age = age
        self.address = address
i = 0
for i in range(10):
    i += 1
    print(f'当前录入第{i}位学生信息,总共需录入10位学生信息')
    name = input('请输入学生姓名:')
    age = input('请输入学生年龄:')
    address = input('请输入学生地址:')
    (f'stu{i}') == student(name, age, address) 
    
    